/*
 * 
 * Created on Jul 29, 2005
 */
package remato.client.view.editor.properties;

import org.eclipse.ui.views.properties.IPropertySheetEntry;
import org.eclipse.ui.views.properties.PropertySheetSorter;

/**
 * 
 * @author Petter L. H. Eide
 * @version $Id: ExtendedPropertySheetSorter.java,v 1.1 2006-01-23 19:58:37 petterei Exp $
 * 
 * Changelog:
 * 
 * $Log: ExtendedPropertySheetSorter.java,v $
 * Revision 1.1  2006-01-23 19:58:37  petterei
 * initial commit for client, fitting the alternative session implementation
 *
 * Revision 1.1  2005-12-08 14:51:22  petterei
 * *** empty log message ***
 *
 * Revision 1.2  2005-11-16 16:43:28  petterei
 * mye testing...
 *
 * Revision 1.1  2005/09/29 16:41:42  petterei
 * *** empty log message ***
 *
 * Revision 1.2  2005/08/28 18:01:26  peide3
 * save in Eclipse-way
 * dynamic propertyspecifications bug fixed
 * dnd to deside order of property specification
 * ItemType to make convertion more understandable
 *
 * Revision 1.1  2005/08/23 06:38:13  peide3
 * *** empty log message ***
 *
 * Revision 1.1  2005/07/31 22:55:10  petterei
 * initial commit
 *
 *
 */
public class ExtendedPropertySheetSorter extends PropertySheetSorter {

    /**
     * they are sorted..
     * 
     * @see org.eclipse.ui.views.properties.PropertySheetSorter#compare(org.eclipse.ui.views.properties.IPropertySheetEntry, org.eclipse.ui.views.properties.IPropertySheetEntry)
     */
    @Override
    public int compare(@SuppressWarnings("unused") IPropertySheetEntry entryA, @SuppressWarnings("unused") IPropertySheetEntry entryB) {
        return 0;
    }

    /** 
     * they are sorted...
     * @see org.eclipse.ui.views.properties.PropertySheetSorter#sort(org.eclipse.ui.views.properties.IPropertySheetEntry[])
     */
    @Override
    public void sort(@SuppressWarnings("unused") IPropertySheetEntry[] entries) {
//        System.out.println("ExtendedPropertySheetSorter.sort(...): was here...");
    }

    /**
     * @see org.eclipse.ui.views.properties.PropertySheetSorter#sort(org.eclipse.ui.views.properties.PropertySheetCategory[])
     */
//    public void sort(PropertySheetCategory[] categories) {
//        Arrays.sort(categories, new Comparator() {
//            public int compare(Object a, Object b) {
//                return compareCategories(
//                        ((PropertySheetCategory) a).getCategoryName(),
//                        ((PropertySheetCategory) b).getCategoryName());
//            }
//        });
//    }

}
//class ExtendedPropertySheetSorter extends PropertySheetSorter {
//    @Override
//    public void sort(IPropertySheetEntry[] entries) {
//    }
//}

